package com.appkubes.mall.admin.application.utm.utm.entity.vo;

import com.appkubes.base.core.entity.vo.AppKeyVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@Data
public class UtmSourceGetVO extends AppKeyVO {
    Integer page;
    Integer size;
    @ApiModelProperty("渠道类型(USER/ORGANIZATION)")
    @NotEmpty(message = "类型不能为空")
    @Pattern(regexp = "(USER|ORGANIZATION)", message = "类型不正确")
    String sourceType;
}
